package org.csu.mypetstore.persistence;

import org.csu.mypetstore.domain.Cart;
import org.csu.mypetstore.domain.CartItem;
import org.csu.mypetstore.domain.Order;

import java.util.List;

public interface CartDAO {
    Cart getCartByUsername(String username);
    boolean deleteCartByUsername(String username);
    boolean insertCart(CartItem cartItem, String username);
    boolean updateCartItem(String username ,String itemId,int quantity);
    boolean removeCartItem(String username ,String itemId);
}
